
var App=getApp();
let Api =require('../../utils/api.js')
Page({
  data: {
    score:[],
    windowHeight:0
  },
  onLoad: function (options) {
  },

  onShow: function () {
    this.setData({
      windowHeight:wx.getSystemInfoSync().windowHeight
    })
    Api.listMyCourse().then(res=>{
      this.setData({
        score:res
      })
    });
  },

})